package com.tmeone.erpone.service.impl;

import com.tmeone.erpone.entity.ProcessStatus;
import com.tmeone.erpone.entity.TProductiveProcess;
import com.tmeone.erpone.mapper.TProductiveProcessMapper;
import com.tmeone.erpone.service.ITProductiveProcessService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tmeone
 * @since 2021-04-19
 */
@Service
public class TProductiveProcessServiceImpl extends ServiceImpl<TProductiveProcessMapper, TProductiveProcess> implements ITProductiveProcessService {

    @Autowired
    private TProductiveProcessMapper tppMapper;

    @Override
    public List<ProcessStatus> getProcessByOrderId(String orderId) {
        return tppMapper.getProcessByOrderId(orderId);
    }
}
